Skip to content
This repository has been archived by the owner on Aug 3, 2021. It is now read-only.

Feature/fixed price #105

Merged
merged 13 commits into from
Sep 7, 2020
Merged

Feature/fixed price #105

merged 13 commits into from
Sep 7, 2020

Conversation

mihaisc
Copy link
Contributor

@mihaisc mihaisc commented Sep 7, 2020

Changed publish so it created a pool or adds fixed price. Publish looks like this now
const priceOptions = { price: 10, tokensToMint: 10, type: 'simple', weightOnDataToken: '', liquidityProviderFee: '' }
const ddo = await publish(asset as Metadata, priceOptions, 'access', '', '')

price is only used for simple while weightOnDataToken and liquidityProviderFee is used only for advanced

I think this should be merged after #104

@mihaisc mihaisc requested a review from kremalicious September 7, 2020 12:09
@kremalicious
Copy link
Contributor

And I was seeing this temp hack being removed in here somewhere, but think latest merge leaves that again https://github.com/oceanprotocol/react/blob/main/example/src/NetworkMonitor.tsx#L12

If we can now get network based on chainId then we can remove the hack indeed

@mihaisc
Copy link
Contributor Author

mihaisc commented Sep 7, 2020

hmmm, actually fixed that, but I think that I was to quick with resolving conflicts and removed it ...

mihaisc and others added 2 commits September 7, 2020 15:28
Co-authored-by: Matthias Kretschmann <[email protected]>
@mihaisc mihaisc merged commit ef3963c into main Sep 7, 2020
@mihaisc mihaisc deleted the feature/fixedPrice branch September 7, 2020 12:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants